<style>
.fe-mod {
    height: auto;
    border: 0px;
    position: relative;
}
.fe-mod-9-menu {
    background: #44abf7;
}
.fe-mod:hover {
    border: 0px;
}
.fui-icon-group .fui-icon-col .icon {
    height: 68px;
    margin: auto;
    text-align: center;
    line-height: 68px;
}
.fui-icon-group .fui-icon-col .icon i {
    color: #aaa;
    font-size: 58px;
}
.group-top {
    border-top: 0px solid #d9d9d9;
	background: inherit; margin-top: 10;
}
.footer {
	height:68px;padding:20px;width:100%
}
.footer p{
	margin:0;
	font-size: 0.5rem;
}
.fe-mod-9-nav {
    width: 20%;
}
.fui-goods-item .image .playbtn {
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
	padding-top:4rem;
    text-align: center;
    color: #fff;
}
</style>
<div class="fui-page">
<div class="fui-content">
<div class="fe-mod fe-mod-9" style="background-color:#44abf7;min-height:188px">
    <div ng-if="!pagedata.account.mobilenavs || pagedata.account.mobilenavs.length==0" class="fe-mod-9-menu"  ng-style="{'color':inav.params.navcolor}">
        <a href="./index.php?plugin=core&action=home.welcome"><div class="fe-mod-9-nav"><i class="icon icon-shouye"></i><br>首页</div></a>
		<a href="javascript:;" ng-click="access_json('/article.list//group_id='+pagedata.newsgroupid)"><div class="fe-mod-9-nav"><i class="icon icon-tuwenwenzhen"></i><br>新闻</div></a>
		<a href="javascript:;" ng-click="access_json('jy_weishop/grass.index/')"><div class="fe-mod-9-nav"><i class="icon icon-haoping"></i><br>优选</div></a>
		<a href="javascript:;" ng-click="access_json('jy_weishop/video.index/')"><div class="fe-mod-9-nav"><i class="icon icon-video"></i><br>视频</div></a>
		<a onclick="$('#followewm').modal();"><div class="fe-mod-9-nav"><i class="icon icon-saoyisao2"></i><br>公众号</div></a>
    </div>
	<div ng-if="pagedata.account.mobilenavs.length>0" class="fe-mod-9-menu"  ng-style="{'color':inav.params.navcolor}">
		<a ng-repeat="nv in pagedata.account.mobilenavs" href="javascript:;" ng-click="access_json(nv.action)"><div class="fe-mod-9-nav"><i class="icon {{nv.icon}}"></i><br>{{nv.title}}</div></a>
    </div>
    <div class="fe-mod-9-shopname">
        <div class="fe-mod-9-name">{{pagedata.account.title|| '站点名称'}}</div>
    </div>
    <div class="fe-mod-9-shoplogo"> 
        <div class="fe-mod-9-shoplogo-img">
            <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/nopic.jpg'}}"/>
        </div>
    </div>
</div>

<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
	<div class="carousel-inner" role="listbox">
		<div ng-repeat="nav in pagedata.account.hdps" ng-class="{'item':true,'active':$index==0}">
			<a href="{{nav.url}}">
				<img ng-src="{{tomedia(nav.picurl)}}" style="display: block; width: 100%; height: auto;"/>
			</a>
		</div>
	</div>
	<style>
            .fui-swipe-page .fui-swipe-bullet {background: #fff;}
            .fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
    </style>
	<div id="carousel-jinyun" class=" fui-swipe-page" style="bottom: 10px; ">
		<div class="fui-swipe-bullet" ng-repeat="nav in pagedata.navs" data-target="#carousel-container" data-slide-to="{{$index}}" ng-class="{'active':$index==0}"></div>
	</div>
</div>
<div class="group-top" ng-if="pagedata.account.noapps != '1'">
     <div class="fui-list jump">
                <a class="fui-list-inner" href="">
                    <div class="title" style="color: #333333;">业务特点</div>
                     <div class="subtitle" style="color: #666666;">关于我们的一些主要业务特点等</div>
                 </a>
                <a class="fui-remark jump" style="padding-right: 0.2rem; height: 2rem; text-align: center; line-height: 2rem;" onclick="$('#followewm').modal();">
                更多
				</a>
      </div>
</div>
<div ng-if="pagedata.account.noapps !='1'" class="fui-icon-group col-2 selecter" style="border-top: 0px;">
	<div ng-repeat="item in pagedata.account.apps" class="fui-icon-col external" style="margin:0;padding:3px;" href="javascript:;" ng-click="access_json(item.action)">
		 <div style="background-color: #44abf7;padding:15px;">
				<div class="badge" style="background-color: {dotcolor};"></div>
				<div class="icon icon-green"><i class="icon {{item.icon || 'icon-all'}}" style="color: #fff;"></i></div>
				<div class="text" style="color: #fff;">{{item.title}}</div>
				<div class="text" style="color: #fff;">{{item.desc}}</div>
		 </div>
	</div>
</div>
<div class="group-top" ng-if="pagedata.account.noplugins!=1">
     <div class="fui-list jump">
                <a class="fui-list-inner" href="">
                    <div class="title blod" style="color: #333333;">热门产品</div>
                     <div class="subtitle" style="color: #666666;">最新热点产品，公司服务产品</div>
                 </a>
                <a class="fui-remark jump" style="padding-right: 0.2rem; height: 2rem; text-align: center; line-height: 2rem;" ng-click="access_json('jy_weishop/index/')">
                更多
				</a>
      </div>
</div>
<div ng-if="pagedata.goods" class="fui-goods-group block">
			<div ng-repeat="item in pagedata.goods" class="fui-goods-item">
				<div ng-click="pagedata.gotoitem(item);" ng-class="{'image':1, 'echelon':item.active.title}" data-text="{{item.active.title}}" style="position:relative;background-image: url('{{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}}')">
						<div ng-show="item.total <=0" class="salez" style="background-image: url('{{tomedia(pagedata.shopset.shop.saleout)}}'); "></div>
						<div ng-if="item.video" class="playbtn"><i class="icon icon-iconfontplay2" style="font-size:1.6rem;"></i></div>
				</div>
				<div ng-click="pagedata.gotoitem(item);" ng-class="{'detail':1,'commission_money':item.commission_money}">
					<a>
						<div class="name">
							<i ng-show="item.ispresell == 1" class="fui-tag fui-tag-danger">预售</i>
							{{item.title}}
						</div>
					</a>
					<div class="price" style="margin-top: 0.3rem">
						<span class="text">￥{{item.active.price || item.price}}/{{item.unit || '件'}}</span>
						<span ng-if="!item.active.title" class="subtitle" style="font-weight:400">已售{{item.salenum || 0}}{{item.unit || '件'}}</span>
						<span ng-if="item.active.title" class="fui-tag-pink-big" style="font-weight:400">{{item.active.title}}</span>
					</div>
					<div ng-if="item.commission_money || pagedata.feemoney.isopen==1" class="goods-tag">
						<div ng-if="pagedata.feemoney.isopen==1" class="fui-tag fui-tag-danger fee-tag-zi" style="margin-right:0.15rem">{{pagedata.feemoney.tag ||'节省'}}￥{{item.feemoney || '0.00'}}</div>
						<div ng-if="item.commission_money" class="fui-tag fui-tag-danger fee-tag">{{item.commission_title}}￥{{item.commission_money}}</div>
					</div>
				</div>
			</div>
</div>
<div class="group-top" ng-if="pagedata.account.noplugins!=1">
     <div class="fui-list jump">
                <a class="fui-list-inner" href="">
                    <div class="title blod" style="color: #333333;">热点短视频</div>
                     <div class="subtitle" style="color: #666666;">最新热点视频，公司宣传短视频！</div>
                 </a>
                <a class="fui-remark jump" style="padding-right: 0.2rem; height: 2rem; text-align: center; line-height: 2rem;" ng-click="access_json('jy_weishop/video.index/')">
                更多
				</a>
      </div>
</div>
<div ng-if="pagedata.videos" class="fui-goods-group block">
			<div ng-repeat="item in pagedata.videos" class="fui-goods-item">
				<div ng-click="access_json('jy_weishop/video.detail//id='+item.id)" ng-class="{'image':1, 'echelon':item.active.title}" data-text="{{item.active.title}}" style="position:relative;height:10rem;background-image: url('{{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}}')">
					<div ng-show="item.total <=0" class="salez" style="background-image: url('{{tomedia(pagedata.shopset.shop.saleout)}}'); "></div>
					<div class="playbtn"><i class="icon icon-iconfontplay2" style="font-size:1.6rem;"></i></div>
				</div>
				<div ng-click="access_json('jy_weishop/video.detail//id='+item.id)"  class="detail" style="height:2.6rem">
					<a>
						<div class="name">
							{{item.title}}
						</div>
					</a>
					<div class="price" style="margin-top: 0.1rem">
						<span class="member"><img ng-repeat="m in item.members" ng-if="$index<=5" class="avatar" style="margin-right:-0.3rem" ng-src="{{tomedia(m.avatar) || '../core/resource/images/nopic.jpg'}}"></span>
						<span class="subtitle" style="font-weight:400"><i class="icon icon-good"></i> {{item.likes || 0}}</span>
					</div>
				</div>
			</div>
</div>
<div class="group-top">
           <div class="fui-list jump">
                <a class="fui-list-inner" ng-click="access_json('/article.list//group_id='+pagedata.newsgroupid)">
                    <div class="title">新闻动态</div>
                     <div class="subtitle">最近新闻动态，公司行业热点新闻！</div>
                 </a>
                <a class="fui-remark jump" style="padding-right: 0.2rem; height: 2rem; text-align: center; line-height: 2rem;" href="javascript:;" ng-click="access_json('/article.list//group_id='+pagedata.newsgroupid)">
					更多
				</a>
            </div>
</div>
<div class="fui-list-group" style="margin-top: 0rem;border-top: 0px">
	<div class="list-number" ng-repeat="item in pagedata.list">
			<a class="fui-list " href="javascript:;" ng-click="access_json('/article.list/detail','id='+item.id)">
					<div class="fui-list-media">
							<img class="round" ng-src="{{tomedia(item.pic_url) || '../core/resource/images/nopic.jpg'}}">
					</div>
					<div class="fui-list-inner">
							<div class="title bold" style="font-size: 0.8rem;">{{item.title}}</div>
							<div class="subtitle">{{item.desc}} ...</div>
					</div>
					<div class="fui-list-angle">
							<div class="angle"></div>
					</div>
			</a>
	</div>
</div>

<footer class="footer" style="">
	<div class="pull-right" style="padding-bottom:10px;width:40%">
		<div class="fr" style="margin-top:2px;">
			<img ng-src="{{tomedia(pagedata.account.ewm) || '../core/resource/images/nopic.jpg'}}" width="40px" height="40px;">
		</div>
		<p>微信：扫描二维码</p>
		<p>QQ：{{pagedata.account.qq}}</p>
		<p>在线：9:00~18:00</p>
	</div>
    <p>公司名称：{{pagedata.account.cname}}</p>
	<p>公司地址：{{pagedata.account.address}}</p>
	<p>ICP备案号： {{pagedata.account.icp}}<p>
</footer>
</div>
</div>
<div id="followewm"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="margin-bottom:216px">
				<div class="wap-qrcode-container">
					<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
				<p class="example1">{{pagedata.account.title || '站点名称'}}--公众号！</p>
				<div class="wap-qrcode-image">
					<img ng-src="{{tomedia(pagedata.account.ewm) || '../core/resource/images/nopic.jpg'}}"/>
				</div>
				<p class="example1 subtitle">长按二维码关注(了解更多)</p>
			</div>
			</div>
</div>
<div ng-include="sys_html('common/_kefu',true)"></div>
<div ng-include="sys_html('common/_gotop',true)"></div>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
scope.pagedata.gotoitem=function(item){
	if(item.pluginname=='jy_taobaoke'){
		$('#showtaobaoke').modal();
		scope.pagedata.selectgoods=item;
		scope.pagedata.copyinfo='【'+item.title+'】'+item.active.url+' 点击链接，再选择浏览器打开；或复制这段描述'+item.active.code+'后到《手机淘宝》';
		scope.$evalAsync();
	}else{
		scope.access_json(item.active.url || 'jy_weishop/goods.detail//id='+item.id);
	}
}
scope.tool.get_list('core/article.list/list/',true);
scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('core/article.list/list/');
}
</script>